import request from "../utils/request";

// 具名导出
export function registerAPI(data) {
  return request.post("/h5/user/register", data);
}

export function loginAPI(data) {
  return request.post("/h5/user/login", data);
}

export function getUserInfoAPI() {
  return request({
    url: "/h5/user/currentUser",
  });
}
